package run.siyuan.jdk.设计模式.工厂模式.工厂模式案例3;

/**
 * @className: AbstractHumanFactory
 * @Description: TODO 工程模式-人类创建工厂
 * @author: siyuan
 * @date: 2022/3/11 5:57 PM
 */
public class YellowHumanFactory extends AbstractHumanFactory {

    @Override
    public Human createHuman() {
        return new YellowHuman();
    }
}
